/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cmc.rra.tests;

import com.cmc.rra.service.TaxTypeDetailsService;
import com.cmc.rra.service.impl.TaxTypeDetailsServiceImpl;
import com.cmc.rra.sub.TaxTypeDetails;
import com.cmc.rra.sub.impl.TaxTypeDetailsImpl;

/**
 *
 * @author cmc
 */
public class TaxTypeDetailsTest {
    public static void main(String[] args) {
       
        TaxTypeDetailsService detailsService = new TaxTypeDetailsServiceImpl();
        /*TaxTypeDetails taxTypeDetails = new TaxTypeDetailsImpl();
        taxTypeDetails.setTaxTypeCode("RR-3");
        taxTypeDetails.setTaxTypeName("Vehicle");
        
        
        detailsService.create(taxTypeDetails);*/
        
        /*List<TaxTypeDetails> list = detailsService.getAll();
        for(TaxTypeDetails details : list){
            System.out.println("=============List"+details);
        }*/
        
        TaxTypeDetails taxTypeDetails = detailsService.getByTaxTypeNumber(1L);
        System.out.println("==========="+taxTypeDetails);
        
    }
}
